package com.smartstate.IOC.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.smartstate.IOC.entity.HalfHourPowerMeterSummaryEntity;
import com.smartstate.IOC.dto.EnergyDTO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface PowerMeterSummaryMapper extends BaseMapper<HalfHourPowerMeterSummaryEntity> {


    /**
     * 日 周 月 年 颗粒度 成本计算
     * @param energyDTO
     * @return
     */
    List<HalfHourPowerMeterSummaryEntity> selectDatePrice(@Param("energyDTO") EnergyDTO energyDTO);


}
